package com.company.java20.test14;

import java.util.function.Consumer;
import java.util.function.Supplier;

public class LambdaDemo2 {

    public static void main(String[] args) {

        Consumer<Integer> consumer = System.out::println;
        consumer.accept(121312);

        int s = 3;
        Consumer<String> c = i->System.out.println(s +i);
    }
}
